<template>
    <div id="app" class="app-container">
        <!-- 卡片 -->
        <el-card class="box-card">
            <div slot="header" class="clearfix">
                <span>系统选择</span>
            </div>
            <div>

                <div class="button-container">
                    <!-- 第一个按钮 -->
                    <el-button type="primary" @click="()=>{this.$router.push('/managerLogin')}">管理系统</el-button>
                    <!-- 第二个按钮 -->
                    <el-button type="success" @click="()=>{this.$router.push('/userLogin')}">购物系统</el-button>
                </div>
            </div>
        </el-card>
    </div>
</template>

<script>
export default {
    name: 'App',
}
</script>

<style scoped>
.app-container {
    margin: 20px;
}

.box-card {
    width: 400px;
    margin: 20px auto;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
</style>
